@import url(http://fonts.googleapis.com/css?family=Vollkorn:400,400italic,700,700italic&subset=latin);

body {
    padding: 1em;
    background: #34495e; 
    position: relative;
    
}

.container {
    position: relative;
    /* top: 2%; */
    /* left: auto; */
    margin-left: 40%;
    margin-right: 40%;

}

nav {
    position: relative;
    width:auto;
    height: 50px;
    background-color: #405161;
    border-radius: 8px;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.4);
    
}

nav a{
    position: relative;
    display:block;
    float: left;
    font-size: 20px;
    line-height: 50px;
    width:100px;
    height: 50px;
    color: #f1f1f1;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    /* background-color: #00b894; */
    z-index: 10;
    border-radius: 8px;
}

nav a:nth-child(1){
    padding-left: 10px;
    padding-right: 5px;
}
nav a:nth-child(2){
    padding-left: 5px;
    padding-right: 5px;
}
nav a:nth-child(3){
    padding-left: 5px;
    padding-right: 10px;
}

nav .animation{
    position: absolute;
    height: 100%;
    background-color: #f97f51;
    z-index: 9;
    border-radius: 8px;
}

nav a:nth-child(1):hover{
    background-color: #f97f51;
}
nav a:nth-child(2):hover{
    background-color: #f97f51;
    /* left: 100px; */
}
nav a:nth-child(3):hover{
    background-color: #f97f51;
    /* left: 200px; */
}

.content {
    font: 1.3em "Vollkorn", Palatino, Times;
    color: #ccc6c6;
    line-height: 1.4;
    text-align: justify;
    width: 70%;
    height: auto;
    margin-left: 25%;
    /* margin-top: 10%; */
}

.toc {
    background-color:#405161;
    width: 20%;
    position: fixed;
    border-radius: 10px;
    box-shadow: 0 5px 8px  rgba(0, 0, 0, 0.4);
}


.toc a{
    color: rgb(211, 226, 235);
}



header,
/* nav, */
article,
footer {
    width: 700px;
    margin: 0 auto;
}

article {
    margin-top: 4em;
    margin-bottom: 4em;
    min-height: 400px;
}

footer {
    margin-bottom: 50px;
}

video {
    margin: 2em 0;
    border: 1px solid #ddd;
}

/* nav {
    font-size: .9em;
    font-style: italic;
    border-bottom: 1px solid #ddd;
    padding: 1em 0;
} */

nav p {
    margin: 0;
}

/* Typography
-------------------------------------------------------- */

h1 {
    margin-top: 0;
    font-weight: normal;
}

h2 {
    font-weight: normal;
}

h3 {
    font-weight: normal;
    font-style: italic;
    margin-top: 3em;
}

p {
    margin-top: 0;
    -webkit-hypens: auto;
    -moz-hypens: auto;
    hyphens: auto;
}

ul {
    list-style: square;
    padding-left: 1.2em;
}

ol {
    padding-left: 1.2em;
}

blockquote {
    margin-left: 1em;
    padding-left: 1em;
    border-left: 1px solid #ddd;
}

code {
    font-family: "Consolas", "Menlo", "Monaco", monospace, serif;
    font-size: .9em;
    background: #405161;
    border-radius: 6px;
    color: #9fb4c5;
}

a {
    color: #2484c1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a img {
    border: none;
}

h1 a,
h1 a:hover {
    color: #333;
    text-decoration: none;
}

hr {
    color: #ddd;
    height: 1px;
    margin: 2em 0;
    border-top: solid 1px #ddd;
    border-bottom: none;
    border-left: 0;
    border-right: 0;
}

p#heart {
    font-size: 2em;
    line-height: 1;
    text-align: center;
    color: #ccc;
}

.red {
    color: #B50000;
}

/* Home Page
--------------------------- */

body#index li {
    margin-bottom: 1em;
}


/* iPad
-------------------------------------------------------- */
@media only screen and (max-device-width: 1024px) {
    body {
        font-size: 120%;
        line-height: 1.4;
    }
}

/* @iPad */

/* iPhone
-------------------------------------------------------- */
@media only screen and (max-device-width: 480px) {
    body {
        text-align: left;
    }

    article,
    footer {
        width: auto;
    }

    article {
        padding: 0 10px;
    }
}

/* @iPhone */